package org.example.user.service;

import org.example.enums.SendCodeEnum;
import org.example.util.JsonData;

public interface NotifyService {
    JsonData sendCode(SendCodeEnum sendCodeEnum, String to);

    boolean checkCode(SendCodeEnum sendCodeEnum, String mail, String code);
}
